package game.controller;

import javax.swing.SwingUtilities;

import game.view.MainView;

public class MainController {

	private MainView mainView;
	
	public MainController() {
		mainView = new MainView();
	}

	private void view() {
		// Create the GUI on the event-dispatching thread
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
            	mainView.init();
            }
        });
	}

	public static void main(String[] args) {
		new MainController().view();
	}

}
